package com.xyht.sca_s.student_manage_system.modules.wx.myEnum;


import java.util.stream.Stream;

public enum MessageEventEnum {
    MESSAGE_EVENT_ENUM_ALLOW("allow","流程审核"),
    MESSAGE_EVENT_ENUM_DEAL("deal","待办处理"),
    MESSAGE_EVENT_ENUM_MSG("msg","消息提醒"),
    MESSAGE_EVENT_ENUM_COPY_MSG("copy","抄送消息"),
    ;

     MessageEventEnum(String value, String name){
        this.value = value;
        this.name = name;
    }

    private String name;
    private String value;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public static Stream<MessageEventEnum> stream() {
        return Stream.of(MessageEventEnum.values());
    }

}
